dict to sql python

51

sql = "INSERT INTO %s (%s) VALUES(%s)" % (
    table, ",".join(cols), ",".join(vals))

Comments

Submit
0 Comments